<div id="index_right">

		<div style="height:47px;">
			<a href="<?php echo edp_href_link(PAGENAME_ADD_SHOP); ?>" class="btn_add_shop"></a>  
		</div> 	
    	<div class="hotList">
        	<div class="hotList_title">热门评单</div>
  <ul class="hotlist_content">
<?php
			if($hotLists)
			{
				foreach($hotLists as $List)
				{
				
?>			<li class="list_hot">
						<a  href="<?php echo edp_href_link(PAGENAME_LIST_INFO, 'lid='.$List['id'])?>">
						<?php 
						if(strlen($List['title'])>'25')
							secho(EdpSubStr($List['title'], 0, 25).'...');
						else
							secho($List['title']);
						?>
						</a>
			</li>	
<?php
				}
			}
?>			 
	</ul>
        </div>
  
  
    	<div class="hotList">
        	<div class="hotList_title">最新评单</div>
  <ul class="hotlist_content">
<?php
			if($newLists)
			{
				foreach($newLists as $List)
				{
				
?>				<li class="list_new">
						<a href="<?php echo edp_href_link(PAGENAME_LIST_INFO, 'lid='.$List['id'])?>">
						<?php 
						if(strlen($List['title'])>'25')
							secho(EdpSubStr($List['title'], 0, 25).'...');
						else
							secho($List['title']);
						?>
						</a>
			</li>
<?php
				}
			}
?>			 
	</ul>
        </div>
                
        <div class="right_rank">
        	<div class="right_title">店铺口碑榜</div>
            <ul>
<?php
			if($BestScoreShops)
			{
				$index='1';
				foreach($BestScoreShops as $Shop)
				{
?>
					<li>
						<div class="R_item_rank">
						 <span class="item_rank <?php echo $index < 4?'h1':'h2'; ?>"><?php echo $index; ?></span>				
						</div>
						<div class="R_rank_name">
						<a href="<?php echo edp_href_link(PAGENAME_SHOP_INFO, 'sid='.$Shop['id'])?>">
						<?php
							if(strlen($Shop['shop_name'])>'25')
								secho(EdpSubStr($Shop['shop_name'], 0, 25).'...');
							else 
								secho($Shop['shop_name']);
						?>
						</a>
						</div>
				
					</li>
<?php
					$index++;
				}
			} 
?>                
            </ul>
        </div>
          <div class="right_rank">
        	<div class="right_title">商城口碑榜</div>
            <ul>
<?php
			if($BestRateMalls)
			{
				$index='1';
				foreach($BestRateMalls as $Mall)
				{
?>
					<li>
						<div class="R_item_rank">
						 <span class="item_rank <?php echo $index < 4?'h1':'h2'; ?>"><?php echo $index; ?></span>				
						</div>
						<div class="R_rank_name">
						<a href="<?php echo edp_href_link(PAGENAME_SHOP_INFO, 'sid='.$Mall['id'])?>">
						<?php
							if(strlen($Mall['shop_name'])>'25')
								secho(EdpSubStr($Mall['shop_name'], 0, 25).'...');
							else 
								secho($Mall['shop_name']);
						?>
						</a>
						</div>
				
					</li>
<?php
					$index++;
				}
			} 
?>                
            </ul>
        </div>           
        <div class="right_rank">
        	<div class="right_title">性价比榜</div>
            <ul>
            	<?php
			if($BestRateShops)
			{
				$index='1';
				foreach($BestRateShops as $Shop)
				{
?>
					<li>
						<div class="R_item_rank">
						 <span class="item_rank <?php echo $index < 4?'h1':'h2'; ?>"><?php echo $index; ?></span>				
						</div>
						<div class="R_rank_name">
						<a href="<?php echo edp_href_link(PAGENAME_SHOP_INFO, 'sid='.$Shop['id'])?>">
						<?php
							if(strlen($Shop['shop_name'])>'25')
								secho(EdpSubStr($Shop['shop_name'], 0, 25).'...');
							else 
								secho($Shop['shop_name']);
						?>
						</a>
						</div>

					</li>
<?php
					$index++;
				}
			} 
?>   
            </ul>
        </div>
        
   
         <div class="user_rank">
        	<div class="user_title">最活跃用户</div>
            <ul>
            	<?php 
            		$index = '1';
            		if( $popularUsers ){
						foreach( $popularUsers as $key => $puser ){            			
            	?>
            	<li class="R_rank0<?php echo $index?>">
            		<a href="<?php echo edp_href_link(PAGENAME_USER_INFO,'uid='.$puser['id'])?>">
            			<img class="thumbImage" src="<?php secho(EdpGetAvatarUrl($puser['logo_path'])); ?>" />
            		</a>
            		<a href="<?php echo edp_href_link(PAGENAME_USER_INFO,'uid='.$puser['id'])?>">
            		<?php
						if(strlen($puser['nick'])>'25')
							secho(EdpSubStr($puser['nick'], 0, 25).'...');
						else 
							secho($puser['nick']);
					?>	
            		</a>
            		<br/>
            		<span class="<?php echo getUserRankClass($puser['contribution']); ?>"></span>
           	    </li>
           	    
           	    <?php 	
           	    			$index++;
						}
					}
				?>               
                
            </ul>
        </div>
        
        <div class="ad_pic">
		<script type="text/javascript"><!--
        google_ad_client = "ca-pub-3131179029997545";
        /* huakaili_rightside */
        google_ad_slot = "4202054412";
        google_ad_width = 200;
        google_ad_height = 200;
        //-->
        </script>
        <script type="text/javascript"
        src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
        </script>
        </div>
        
    </div>